/*
 * Copyright (c) 2010 CCX(China) Co.,Ltd. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of
 * CCX(China) Co.,Ltd. ("Confidential Information").
 * It may not be copied or reproduced in any manner without the express 
 * written permission of CCX(China) Co.,Ltd.
 *
 * @author Administrator
 * Date: 2010-7-6 下午03:21:26
 */
package com.ccxe.manage.util;

/**
 * 
 * @author wangyx
 * 
 */
public class StringValueValid {

	public static boolean isNotNullAndEmpty(String value) {
		return !isNullOrEmpty(value);
	}

	public static boolean isNullOrEmpty(String value) {
		return value == null || "".equals(value) || "".equals(value.trim());
	}
}
